/**
 * chenuu.com
 * 
 * @author  zhaoxu.com@gmail.com
 * @created 2012-11-18
 */
package com.chenuu.webapp.common.result;

import java.util.HashMap;

/**
 *
 */
public class AjaxResult extends HashMap<String, Object> {

	private static final long serialVersionUID = 4408189539282072828L;

	public boolean isSuccess() {
		return (Boolean) this.get("success");
	}

	public void setSuccess(boolean success) {
		this.put("success", success);
	}

	public String getMessage() {
		return (String) this.get("message");
	}

	public void setMessage(String message) {
		this.put("message", message);
	}

}
